class Game:
    max_score=0

    def __init__(self,player_name):
        self.name=player_name

    @staticmethod
    def showhelp(num):
        if num==1:
            print("------新手指南------")
        if num==2:
            print("------充值特惠------")
        if num == 3:
            print("------客服------")
    @classmethod
    def showmax(cls):
        print(f"-------全场最佳---{cls.max_score}--------")
    def play(self):
        print(f"----欢迎{self.name}进入有效----")
        print("---开始游戏---")
        print("---结束游戏游戏---")
        import random
        s=random.randint(1,100)
        print(f"{self.name}玩家的分数为：{s}")
        if s > Game.max_score:
            Game.max_score=s
Game.showhelp(1)
Game.showmax()
print("^"*30)

for x in range(0,10):
    a=Game("tom"+str(x))
    a.play()
Game.showmax()

